home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form initgraph
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Graph Set Up"
- ClientHeight = 3150
- ClientLeft = 1500
- ClientTop = 2310
- ClientWidth = 3960
- Height = 3840
- Left = 1440
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 3150
- ScaleWidth = 3960
- Top = 1680
- Width = 4080
- Begin HScrollBar hgraph
- Height = 255
- LargeChange = 100
- Left = 960
- Max = 32500
- Min = 1
- TabIndex = 2
- Top = 2760
- Value = 100
- Width = 2655
- End
- Begin SSPanel SSPanel2
- AutoSize = 3 'AutoSize Child To Panel
- BevelInner = 1 'Inset
- BevelWidth = 2
- ForeColor = &H00000000&
- Height = 1575
- Left = 120
- TabIndex = 6
- Top = 960
- Width = 735
- Begin CommandButton Command1
- Caption = "O.K."
- Height = 1365
- Left = 105
- TabIndex = 7
- Top = 105
- Width = 525
- End
- End
- Begin VScrollBar vgraph
- Height = 2295
- LargeChange = 100
- Left = 3600
- Max = 32500
- Min = 1
- TabIndex = 1
- Top = 480
- Value = 100
- Width = 255
- End
- Begin PictureBox graph
- AutoRedraw = -1 'True
- BackColor = &H00FFFFFF&
- Height = 2295
- Left = 960
- ScaleHeight = 2265
- ScaleWidth = 2625
- TabIndex = 0
- Top = 480
- Width = 2655
- End
- Begin SSPanel SSPanel1
- AutoSize = 3 'AutoSize Child To Panel
- BevelInner = 1 'Inset
- BevelWidth = 2
- ForeColor = &H00000000&
- Height = 735
- Left = 120
- TabIndex = 3
- Top = 120
- Width = 735
- Begin PictureBox Picture2
- Height = 525
- Left = 105
- Picture = INITGRAP.FRX:0000
- ScaleHeight = 495
- ScaleWidth = 495
- TabIndex = 4
- Top = 105
- Width = 525
- End
- End
- Begin Label xs
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Height = 195
- Left = 120
- TabIndex = 9
- Top = 2760
- Width = 75
- End
- Begin Label ys
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Height = 195
- Left = 2640
- TabIndex = 8
- Top = 120
- Width = 75
- End
- Begin Label Label1
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Caption = "Scale in Meters"
- Height = 195
- Left = 960
- TabIndex = 5
- Top = 120
- Width = 1335
- End
- Begin Menu grd
- Caption = "&Grid"
- Begin Menu set
- Caption = "&Settings"
- End
- End
- Sub Command1_Click ()
- initgraph.Hide
- Unload initgraph
- End Sub
- Sub Form_Load ()
- graph.scalewidth = planet.graph.scalewidth
- graph.scaleheight = planet.graph.scaleheight
- xs.caption = Str$(planet.graph.scalewidth)
- ys.caption = Str$(planet.graph.scaleheight)
- End Sub
- Sub hgraph_Change ()
- xs.caption = Str$(hgraph.value)
- planet.graph.scalewidth = hgraph.value
- End Sub
- Sub set_Click ()
- gridset.Show 1
- End Sub
- Sub vgraph_Change ()
- ys.caption = Str$(vgraph.value)
- planet.graph.scaleheight = vgraph.value
- End Sub
-